package org.linlinjava.litemall.core.payment.clover.service;


import org.linlinjava.litemall.core.util.ResponseUtil;

import java.math.BigDecimal;

public interface UserCloverService {
    /**
     * 用户余额Clover充值
     * @param userId
     * @param amount
     * @param token
     * @return
     */
    ResponseUtil.Response executePayment(Integer userId, BigDecimal amount, String token);

    /**
     * 用户退款商品
     */
    Boolean refund(Integer orderId);
}
